package com.blog.personalblog.entity;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class Article {
    private Integer id;
    private String author;
    private String title;
    private Integer userId;
    private Integer categoryId;
    private String content;
    private Long views;
    private Long totalWords;
    private Integer commentableId;
    private Integer artStatus;
    private String description;
    private String imageUrl;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private List<Tag> tagList;
    private List<Integer> tagIdList;
    private String categoryName;
}
